﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="BlackEagleClient._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to Black Eagle Dating!
    </h2>
    <p>
        "Where Your Dreams Comes True"
    </p>

    <asp:Repeater ID="SpotLight" runat="server">

<ItemTemplate>
 <asp:HyperLink ID="SpotlightHyperlink"
     NavigateUrl='<%#"Profile.aspx?id=" + Eval("ID")%>'
     runat="server">
<div id="spotlight">
<div class="spotlight_item">
<p><%# Eval("Fnamn") %>
<%# Eval("Enamn") %>,
<%# CalculateAge(((DateTime)Eval("BirthDate")))%></p>
<img src="<%# CheckImg(((string)Eval("PictureUrl")), ((int)Eval("Sex")))  %>" alt="Heyoo!" width="100px" height="100px"/>
</div>
</div>
</asp:HyperLink>
</ItemTemplate>
</asp:Repeater>


</asp:Content>
